{include file="header.tpl"}
<h3>Rejestracja</h3>

	<form method="post" action="register.php" id="register" name="register">
		<div class="table_div">
			<table>
				<tr>
					<td><label for="choose" class="label">Kim jesteś?</label></td>
					<td>
						<input type="radio" name="choose" id="company_radio" class="radio" value = "company">Firma<br/>
						<input type="radio" name="choose" id="student_radio" class="radio" checked="checked" value="student">Student<br/>
					</td>
				</tr>
				<tr>
					<td><label for="email" class="label">Email</label></td>
					<td><input type="text" name="email" id="email" class="input"/></td>
				</tr>
				<tr>
					<td><label for="password" class="label">Hasło</label></td>
					<td><input type="password" name="password" id="password" class="input" title="Email"/></td>
				</tr>
			</table>
			<table id="company_block" style="display:none">
					<tr>
						<td><label for="c_name" class="label">Nazwa</label></td>
						<td><input type="text" id="c_name" name="c_name" class="input"/></td>
					</tr>
					<tr>
						<td><label for="c_address" class="label">Adres</label></td>
						<td><input type="text" id="c_address" name="c_address" class="input"/></td>
					</tr>
					<tr>
						<td><label for="c_phone" class="label">Telefon</label></td>
						<td><input type="text" id="c_phone" name="c_phone" class="input"/></td>
					</tr>	
					<tr>
						<td><label for="c_site" class="label">Strona www</label></td>
						<td><input type="text" id="c_site" name="c_site" class="input" /></td>
					</tr>

					<tr>
						<td><label for="c_person_name" class="label">Imię</label></td>
						<td><input type="text" id="c_person_name" name="c_person_name" class="input" /></td>
					</tr>
					<tr>
						<td><label for="c_person_surname" class="label">Nazwisko</label></td>
						<td><input type="text" id="c_person_surname" name="c_person_surname" class="input"/></td>
					</tr>
					<tr>
						<td><label for="c_person_position" class="label">Stanowisko</label></td>
						<td><input type="text" id="c_person_position" name="c_person_position" class="input" /></td>
					</tr>					
					<tr>
						<td><label for="c_person_email" class="label">Email</label></td>
						<td><input type="text" id="c_person_email" name="c_person_email" class="input" /></td>
					</tr>
					<tr>
						<td><label for="c_person_phone" class="label">Telefon</label></td>
						<td><input type="text" id="c_person_phone" name="c_person_phone" class="input"/></td>
					</tr>			
			</table>
			<table id="student_block">
					<tr>
						<td><label for="s_name" class="label">Imię</label></td>
						<td><input type="text" id="s_name" name="s_name" class="input"/></td>
					</tr>
					<tr>
						<td><label for="s_surname" class="label">Nazwisko</label></td>
						<td><input type="text" id="s_surname" name="s_surname" class="input"/></td>
					</tr>
					<tr>
						<td><label for="s_album" class="label">Nr. albumu</label></td>
						<td><input type="text" id="s_album" name="s_album" class="input"/></td>
					</tr>	
					<tr>
						<td><label for="s_faculty" class="label">Wydział</label></td>
						<td>
						
							<select id="s_faculty" name="s_faculty" class="select">
								<option selected="selected" value="0">--Wybierz wydział--</option>
								{foreach item=faculty from=$faculties}
									<option value="{$faculty.id}">{$faculty.name}</option>
								{/foreach}
							</select>
						</td>
					</tr>
					<tr>
						<td><label for="s_specialization" class="label">Kierunek</label></td>
						<td>
							<select id="s_specialization" name="s_specialization" class="select">
								<option selected="selected">--Wybierz kierunek--</option>					
							</select>
						</td>
					</tr>						
			</table>
		</div>
	<div class="clear"></div>
	<input type="submit" value="Rejestruj" class="button"/>
</form>

<div>
		<form id="form5" action="/" method="post">	
			<fieldset><legend>Contact form</legend>
				<p class="first">					
					<label for="name">Name</label>				
					<input type="text" name="name" id="name" size="30" />					
				</p>
				<p>					
					<label for="email">Email</label>				
					<input type="text" name="email" id="email" size="30" />				
				</p>
				<p>
					<label for="web">Website</label>				
					<input type="text" name="web" id="web" size="30" />										
				</p>			
				<p>
					<label for="message">Message</label>
					<textarea name="message" id="message" cols="30" rows="10"></textarea>
				</p>					
				
				<p class="submit"><button type="submit">Send</button></p>	
							
			</fieldset>								
		</form>	
</div>
		
{include file="footer.tpl"}